<template>
	<view>
		<div>
			<navitop>
				<i class="iconfont" slot="left-slot" @click="outlot">&#xe667;</i>
				<span slot="center-slot">订阅号</span>
				<!-- <span slot="right-slot">123</span> -->
			</navitop>
		</div>
		<div :style="'margin-top:'+rHeight+'px'">
			<mylist :datasoce="seziList" @runIndex="runIndex">123</mylist>
		</div>
	</view>
</template>

<script>
import mylist from '@/components/my-list/list'
import navitop from '@/components/common/navi-top'
	
export default {
	components:{
		mylist,
		navitop
	},
	data(){
		return {
			seziList: [
				{
					name:'商业资讯',
					icon:'icon-jilu'
				},
			],
			rHeight: 55
		}
	},
	mounted() {
		this.rHeight = this.rHeight + uni.getSystemInfoSync().statusBarHeight;
	},
	methods:{
		outlot(){
			uni.navigateBack();
		},
		runIndex(val){
			uni.navigateTo({
				url:'/pages/common/news/details?id='+val
			})
		}
	}
}
</script>

<style scoped lang="scss">
	.public_top {
		padding-top: 40px;
	}
</style>
